package com.xuecheng.api.search;

import com.xuecheng.api.search.model.dto.CoursePubIndexDTO;
import com.xuecheng.api.search.model.qo.QueryCoursePubIndexModel;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import com.xuecheng.common.domain.response.RestResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@Api("课程发布搜索服务API管理")
public interface CoursePubSearchApi {

    @ApiOperation("根据条件分页查询")
    PageVO<CoursePubIndexDTO> queryCoursePubIndexList(PageRequestParams params, QueryCoursePubIndexModel model);

    @ApiOperation("根据Id获得课程发布信息")
    CoursePubIndexDTO getCoursePubIndexById(Long coursePubId);

    @ApiOperation("根据Id获得课程发布信息--远程调用")
    RestResponse<CoursePubIndexDTO> getCoursePubIndexById4s(Long coursePubId);
}
